/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: dings
 * Date: 2024-05-17
 * Time: 14:14
 */
public class Dog extends Animal{
    public void bark() {
        System.out.println(name+"正在汪汪汪叫");
    }
    public Dog(String name, int age) {
        super(name, age);
    }
    @Override
    public void eat() {
        System.out.println(name+"正在吃狗粮");
        //return new Dog("旺福",2);
    }
}
